package com.phone.entity;

/**
 * Created by tisen on 2017/9/12.
 */
public class Token {


    /**
     * id       用户的id
     * wxtoken    唯一的token值
     * time     有效时间
     */
    private String id;
    private String token;
    private long time;


    public Token(String id, String token, long time) {
        this.id = id;
        this.token = token;
        this.time = time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Token{" +
                "id='" + id + '\'' +
                ", wxtoken='" + token + '\'' +
                ", time=" + time +
                '}';
    }
}
